/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.mybatis.model;

import java.util.ArrayList;
import java.util.List;
import org.mybatis.xml.Atributo;

/**
 *
 * @author ProjetGWTPhp
 */
public class ListAtributosMapper {
    
  private  List<Atributo> AtributosInsert= new ArrayList<Atributo>();
  private  List<Atributo> AtributosUpdate= new ArrayList<Atributo>();
  private  List<Atributo> AtributosDelete= new ArrayList<Atributo>();
  private  List<Atributo> AtributosSelect= new ArrayList<Atributo>();
    
    public ListAtributosMapper(){
    this.AtributosInsert.add(new Atributo("id",""));
    this.AtributosInsert.add(new Atributo("parameterType",""));
    this.AtributosInsert.add(new Atributo("flushCache",""));
    this.AtributosInsert.add(new Atributo("statementType",""));
    this.AtributosInsert.add(new Atributo("keyProperty",""));
    this.AtributosInsert.add(new Atributo("keyColumn",""));
    this.AtributosInsert.add(new Atributo("useGeneratedKeys","true/false"));
    this.AtributosInsert.add(new Atributo("timeout",""));
    
    this.AtributosUpdate.add(new Atributo("id",""));
    this.AtributosUpdate.add(new Atributo("parameterType",""));
    this.AtributosUpdate.add(new Atributo("flushCache",""));
    this.AtributosUpdate.add(new Atributo("statementType",""));
    this.AtributosUpdate.add(new Atributo("timeout",""));
    
    this.AtributosDelete.add(new Atributo("id",""));
    this.AtributosDelete.add(new Atributo("parameterType",""));
    this.AtributosDelete.add(new Atributo("flushCache",""));
    this.AtributosDelete.add(new Atributo("statementType",""));
    this.AtributosDelete.add(new Atributo("timeout",""));
    
    
    this.AtributosSelect.add(new Atributo("id",""));
    this.AtributosSelect.add(new Atributo("parameterType",""));
    this.AtributosSelect.add(new Atributo("parameterMap",""));
    this.AtributosSelect.add(new Atributo("resultType",""));
    this.AtributosSelect.add(new Atributo("resultMap",""));
    this.AtributosSelect.add(new Atributo("flushCache",""));
    this.AtributosSelect.add(new Atributo("useCache",""));
    this.AtributosSelect.add(new Atributo("timeout",""));
    this.AtributosSelect.add(new Atributo("fetchSize",""));
    this.AtributosSelect.add(new Atributo("statementType",""));
    this.AtributosSelect.add(new Atributo("resultSetType","FORWARD_ONLY"));
    
    }

    public List<Atributo> getAtributosInsert() {
        return AtributosInsert;
    }

    public List<Atributo> getAtributosUpdate() {
        return AtributosUpdate;
    }

    public List<Atributo> getAtributosDelete() {
        return AtributosDelete;
    }

    public List<Atributo> getAtributosSelect() {
        return AtributosSelect;
    }
    
}
